import vue from "vue";
const _this = vue.prototype;

const userOrder = (params) => _this.$u.http.post('/order/userOrder', params); // 查询订单
const orderInfo = (params) => _this.$u.http.post('/order/orderInfo', params); // 查询订单详情
const houseOrder = (params) => _this.$u.http.post('/order/houseOrder', params); // 订单支付
const repay = (params) => _this.$u.http.post('/order/repay', params); // 订单重新支付
const subUserOrder = (params) => _this.$u.http.post('/order/subUserOrder', params); // 用户购买VIP
const cancelOrder = (params) => _this.$u.http.post('/order/cancelOrder', params); // 取消订单
const checkOrder = (params) => _this.$u.http.post('/order/checkOrder', params); // 取消订单

export default {
	checkOrder ,
	subUserOrder ,
	cancelOrder,
	repay,
	userOrder,
	orderInfo,
	houseOrder
};
